home *** CD-ROM | disk | FTP | other *** search
- MS-DOS Emacs 4.12, DOS 2+
-
- This is a port of a very old version of emacs from (I recently found out)
- the public domain. It has many features removed from it, but still retains
- the things that make emacs great to use.
-
- Major missing features are moc lisp and regular expressions. On the features
- side are up to 12 buffers, two windows, shell commands (esc-!).
-
- If, when reading in a new file (^X^F), you get the message, "READ" and
- emacs quits, you have probably run out of available files. Add the line
- "files = 20" to your /config.sys file and reboot. emacs uses a lot of
- files, approx 2 per buffer + one for messages.
-
- Installation
- ------------
-
- Make sure you have a "set TERM=ansi" in your autoexec.bat file. Any terminal
- can be used as long as you place an appropriate entry in /emacs/termcap.
- A termcap entry for the ansi driver is supplied. You need "device = ansi.sys"
- in config.sys to load this at boot time. This is used by terminal drivers which
- were modeled after the unix termcap drivers.
-
- Create a directory called "/emacs". The easiest thing to do is extract all
- of the files into this directory and add "/emacs" to your path
- (path=/system;/emacs). Emacs will create temporary files here and if it
- crashes, dump the active buffers here. All of emacs's files (errfile,
- helpfile, termcap) must be located in this directory.
-
- I've never tested this running out of memory or disk space. My guess is that
- it will come crashing down in a somewhat controlled fashion.
-
- Brad Parker 4/85
-
- Small summary of commands:
- --------------------------
-
- ^A - move to begining of line
- ^B - back one char
- ^C - cap next char
- ^D - del next char
- ^E - move to end of line
- ^F - move forward one char
- ^G - general "abort command"
- ^K - kill from cursor to eol
- ^L - redisplay screen
- ^N - next line
- ^O - open line (insert line)
- ^P - previous line
- ^Q - "quote" next char (allows inserting of control chars)
- ^R - reverse search (hit again to reuse last arg)
- ^S - forward search (" " " " " ")
- ^T - transpose last two chars
- ^U - sets "arg" to 4
- ^V - scroll down one page (esc-v for back one page)
- ^W - kill from mark to cursor
- ^Y - yank from kill buffer - insert at cursor
- ^Z - quick exit
-
- ^X commands:
- ------------
- ^X 2 two window mode
- ^X 1 one window mode
- ^X B switch to buffer (name can be buffer number)
- ^X^B view buffers
- ^X^C save current buffer and exit
- ^X^E push emacs (recursively envoke edit)
- ^X^F read file into new buffer
- ^X^I input commands from file (reads file as if it was keyboard)
- ^X^K kill buffer (name can be buffer number)
- ^X^M set mode variable
- ^X^N change buffer name
- ^X^O switch to other window
- ^X^R read file into current buffer
- ^X^S write current buffer to it's file name
- ^X^T copy kill buffer into buffer (may be mark to cursor?)
- ^X^W write current buffer to new file name
- ^X^X set mark, and move to previous marked position
-
- esc ("meta") commands:
- ----------------------
- esc-space set mark at cursor
- esc-< move to begining of buffer
- esc-> move to end of buffer
- esc-! execute a command
- esc-? explain a character
-
- esc-a move to begining of sentence
- esc-b move back one word
- esc-c capitalize next word
- esc-d delete next word
- esc-e move to end of sentence
- esc-f move forward one word
- esc-g move to top of buffer
- esc-m view mode variables
- esc-p copy from mark to cursor into kill buffer
- esc-q insert "meta" quoted char
- esc-r query replace
- esc-t set terminal type
- esc-v scroll back one page
- esc-y replace current mark to cursor with kill buffer?
- esc-z abort emacs
- esc-^F show free memory